﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using MOD;

public partial class pages_Bullitin_DispBullitin : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string pkid = (string)Session["QueryString"];
            Session.Remove("QueryString");
            //string pkid = "bul-7D6CF4E18-00001";
            EBulletin eBulletin = new EBulletin();
            OaBulletin bulletin = eBulletin.GetBulletinInfo(pkid);
            if (bulletin.BulletinTitle != null)
            {
                this.lblTitle.Text = bulletin.BulletinTitle;
                this.lblEmp.Text = bulletin.IssueEmpName;
                this.lblDateTime.Text = bulletin.IssueDatetime.ToShortDateString();
                this.lblContent.Text = bulletin.BulletinContent;
            }
        }
    }
}
